A Logical Relations for a Logical Framework
نویسندگان
چکیده
Logical relations are a central concept used to study various higher-order type theories and occur frequently in the proofs of a wide variety of meta-theorems. Besides extending the logical relation principle to more general languages, an important research question has been how to represent and thus verify logical relation arguments in logical frameworks. We formulate a theory of logical relations for dependent type theory (DTT) with βη-equality which guarantees that any valid logical relation satis es the Basic Lemma. Our de nition is syntactic and re ective in the sense that a relation at a type is represented as a DTT type family but also permits expressing certain semantic de nitions. We use the Edinburgh Logical Framework (LF) incarnation of DTT and implement our notion of logical relations in the type-checker Twelf. This enables us to formalize and mechanically decide the validity of logical relation arguments. Furthermore, our implementation includes a module system so that logical relations can be built modularly. We validate our approach by formalizing and verifying several syntactic and semantic meta-theorems in Twelf. Moreover, we show how object languages encoded in DTT can inherit a notion of logical relation from the logical framework.
منابع مشابه
Untyped Algorithmic Equality for Martin-Löf's Logical Framework with Surjective Pairs
An untyped algorithm to test βη-equality for Martin-Löf’s Logical Framework with strongΣ-types is presented and proven complete using a model of partial equivalence relations between untyped terms.
متن کاملLearning Logical Structures of Paragraphs in Legal Articles
This paper presents a new task, learning logical structures of paragraphs in legal articles, which is studied in research on Legal Engineering (Katayama, 2007). The goals of this task are recognizing logical parts of law sentences in a paragraph, and then grouping related logical parts into some logical structures of formulas, which describe logical relations between logical parts. We present a...
متن کاملExtending the Qualitative Trajectory Calculus Based on the Concept of Accessibility of Moving Objects in the Paths
Qualitative spatial representation and reasoning are among the important capabilities in intelligent geospatial information system development. Although a large contribution to the study of moving objects has been attributed to the quantitative use and analysis of data, such calculations are ineffective when there is little inaccurate data on position and geometry or when explicitly explaining ...
متن کاملA Generalisation of Pre-logical Predicates to Simply Typed Formal Systems
We generalise the notion of pre-logical predicates [HS02] to arbitrary simply typed formal systems and their categorical models. We establish the basic lemma of pre-logical predicates and composability of binary pre-logical relations in this generalised setting. This generalisation takes place in a categorical framework for typed higher-order abstract syntax and semantics [Fio02,MS03].
متن کاملLogical Relations in a Statistical Problem
This paper presents the progicnet programme. It proposes a general framework for probabilistic logic that can guide inference based on both logical and probabilistic input, and it introduces a common calculus for making inferences in the framework. After an introduction to the programme as such, it is illustrated by means of a toy example from psychometrics. It is shown that the framework and c...
متن کامل